#!/usr/bin/python
# -*- coding: UTF-8 -*-
# author : bird.zhang@ximalaya.com

import base64

origin_str = 'zxybird,123456'

encode_bytes = base64.b64encode(bytes(origin_str, 'utf-8'))
print(str(encode_bytes, "utf-8"))

decode_bytes = base64.b64decode(encode_bytes)
print(str(decode_bytes, "utf-8"))

